package com.hrzyit.whistle.im.widgets

import android.content.Context
import android.support.v4.view.ViewPager
import android.util.AttributeSet
import android.view.MotionEvent

/**
 *
 * @author YangWei
 * @date 2019/4/22
 */
class NoScrollViewPager(mContext: Context,attrs: AttributeSet): ViewPager(mContext,attrs) {

    override fun onTouchEvent(ev: MotionEvent?): Boolean {
        return false
    }

    override fun onInterceptTouchEvent(ev: MotionEvent?): Boolean {
        return false
    }
}